package com.cxy.object_pattern;

public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        System.out.println(computer.readSD(new SDCardImpl()));
        System.out.println("==============");
        ObjectAdapter objectAdapter = new ObjectAdapter(new TFCardImpl());
        String s = computer.readSD(objectAdapter);
        System.out.println(s);
    }
}
